package cn.sdut.training.service;

import java.util.List;

import cn.sdut.training.domain.Academy;
import cn.sdut.training.domain.Majore;
import cn.sdut.training.domain.Oj;
import cn.sdut.training.domain.Tag;

public interface TrainingService {

	List<Academy> findAllAcademy();

	Academy getAcademyById(long l);

	void saveAcademy(Academy academy);

	void updateAcademy(Academy academy);

	void deleteAcademy(Long id);

	List<Majore> findAllMajores();

	void saveMajore(Majore majore);

	void deleteMajore(Long id);

	void updateOj(Oj oj);

	Oj getOjById(Long id);

	void deleteOj(Long id);

	List<Oj> findAllOj();

	void saveOj(Oj oj);

	List<Tag> findAllTags();

	Majore getMajoreById(Long majoreId);

	void updateTag(Tag tag);

	Tag getTagById(Long id);

	void deleteTag(Long id);

	void saveTag(Tag tag);

}
